package com.cuckoo.mall.thus.menuindex;

import android.content.Context;

import com.bgn.baseframe.base.BasePresenter;
import com.bgn.baseframe.base.BaseView;
import com.cuckoo.mall.javabean.Category;

import java.util.List;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class MenuIndexContract {
    interface View extends BaseView {
        void whenGetCategorysSucceed(List<Category> datas);

        void whenGetCategorysFaild(String message);
    }

    interface Presenter extends BasePresenter<View> {
        void loadAllCategorys();

    }
}
